00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 package jvn;
00010 
00011 import java.io.*;
00012 
00019 public interface JvnObject extends Serializable {
00020 
00025         public void jvnLockRead()
00026         throws jvn.JvnException;
00027 
00032         public void jvnLockWrite()
00033         throws jvn.JvnException;
00034 
00039         public void jvnUnLock()
00040         throws jvn.JvnException;
00041 
00042 
00047         public int jvnGetObjectId()
00048         throws jvn.JvnException;
00049 
00054         public void jvnSetObjectId(int id)
00055         throws jvn.JvnException;
00056 
00061         public Serializable jvnGetObjectState()
00062         throws jvn.JvnException;
00063 
00064 
00069         public void jvnInvalidateReader()
00070         throws jvn.JvnException;
00071 
00077         public Serializable jvnInvalidateWriter()
00078         throws jvn.JvnException;
00079 
00085         public Serializable jvnInvalidateWriterForReader()
00086         throws jvn.JvnException;
00087 }